ComponentOne Data Source for Entity Framework
C1.LiveLinq Namespace / LiveViewExtensions Class / LiveMin Method / LiveMin(View<Nullable<Decimal>>) Method
A view containing the values to determine the minimum value of.

In This Topic
    LiveMin(View<Nullable<Decimal>>) Method
    In This Topic
    Computes the minimum value of a view of nullable System.Decimal values.
    Syntax

    Parameters

    source
    A view containing the values to determine the minimum value of.

    Return Value

    A view representing the minimum of the values.
    Remarks

    If the source is empty or contains only nulls, the minimum value is null.

    It is possible to use standard LINQ query operator Min instead of LiveMin. Both are "live" in the sense that they are recomputed automatically when any change occurs in the source. The difference is that Min will every time loop through the entire source collection and aggregate it from scratch, whereas LiveMin will use a more performant algorithm, will maintain its value incrementally, processing only those source items that actually changed.

    See Also